package cn.com.xiaoshoujia.activities.entity;

import java.util.Date;

/**
 * @Author: yangrui
 * @Description: 发布拼团
 * @Date: 上午10:15 2017/7/27
 */
public class Activity {
    private Long id; //bigint(20) NOT NULL AUTO_INCREMENT,
    private String title; //varchar(100) NOT NULL DEFAULT '' COMMENT '拼团标题',
    private Integer cityId; //int(10) NOT NULL DEFAULT '-1' COMMENT '城市ID',
    private String sponsor; //varchar(100) NOT NULL DEFAULT '' COMMENT '主办方名称',
    private String address; //varchar(100) NOT NULL DEFAULT '' COMMENT '地址',
    private String phone; //varchar(50) NOT NULL DEFAULT '' COMMENT '联系方式',
    private Long picture; //bigint(20) NOT NULL DEFAULT '-1' COMMENT '图片ID',
    private String detail; //bigint(20) NOT NULL DEFAULT '-1' COMMENT '详情ID',
    private String operationJson; //varchar(500) NOT NULL DEFAULT '' COMMENT '表单信息',
    private String fkCompanyXcode; //varchar(50) NOT NULL DEFAULT '' COMMENT '企业唯一XCODE',
    private Date createTime; //datetime DEFAULT NULL,
    private Long creatorId; //bigint(20) NOT NULL DEFAULT '-1',
    private String creator; //varchar(50) NOT NULL DEFAULT '',
    private Date mendTime; //datetime DEFAULT NULL,
    private Long mendedId; //bigint(20) NOT NULL DEFAULT '-1',
    private String mender; //varchar(50) NOT NULL,
    private Integer activitiesStatus; //int(2) NOT NULL DEFAULT '0' COMMENT '0 进行中，1 已暂停',
    private Integer status; //int(2) NOT NULL DEFAULT '1' COMMENT '0 删除，1 显示',

    private String startTime;
    private String endTime;
    private String jobName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getSponsor() {
        return sponsor;
    }

    public void setSponsor(String sponsor) {
        this.sponsor = sponsor;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getPicture() {
        return picture;
    }

    public void setPicture(Long picture) {
        this.picture = picture;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getOperationJson() {
        return operationJson;
    }

    public void setOperationJson(String operationJson) {
        this.operationJson = operationJson;
    }

    public String getFkCompanyXcode() {
        return fkCompanyXcode;
    }

    public void setFkCompanyXcode(String fkCompanyXcode) {
        this.fkCompanyXcode = fkCompanyXcode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getMendTime() {
        return mendTime;
    }

    public void setMendTime(Date mendTime) {
        this.mendTime = mendTime;
    }

    public Long getMendedId() {
        return mendedId;
    }

    public void setMendedId(Long mendedId) {
        this.mendedId = mendedId;
    }

    public String getMender() {
        return mender;
    }

    public void setMender(String mender) {
        this.mender = mender;
    }

    public Integer getActivitiesStatus() {
        return activitiesStatus;
    }

    public void setActivitiesStatus(Integer activitiesStatus) {
        this.activitiesStatus = activitiesStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    @Override
    public String toString() {
        return "Activity{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", cityId=" + cityId +
                ", sponsor='" + sponsor + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", picture=" + picture +
                ", detail='" + detail + '\'' +
                ", operationJson='" + operationJson + '\'' +
                ", fkCompanyXcode='" + fkCompanyXcode + '\'' +
                ", createTime=" + createTime +
                ", creatorId=" + creatorId +
                ", creator='" + creator + '\'' +
                ", mendTime=" + mendTime +
                ", mendedId=" + mendedId +
                ", mender='" + mender + '\'' +
                ", activitiesStatus=" + activitiesStatus +
                ", status=" + status +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", jobName='" + jobName + '\'' +
                '}';
    }
}
